package cn.bgs.mapper;


import cn.bgs.pojo.Complaints;
import cn.bgs.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 投诉建议表 Mapper 接口
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Mapper
public interface ComplaintsMapper extends BaseMapper<Complaints> {

    User findTsUser(String tsname);

    void appComlanints(Complaints complaints);

    List<Complaints> findAll(@Param("id") Integer id, @Param("zhangt") String zhangt, @Param("name") String name);

    List<Complaints> findById(Integer id);
}
